package com.domain.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("菜单信息")
@TableName("sys_role")
public class Role {

    @ApiModelProperty("权限Id")
    @TableId(type = IdType.AUTO)
    private Integer roleId;

    @ApiModelProperty("权限名称")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("权限描述")
    @TableField("role_desc")
    private String roleDesc;
}
